package com.bestcem.xm.survey.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 * @TableName ds_survey_projectpiece
 */
@TableName(value ="ds_survey_projectpiece")
@Data
@EqualsAndHashCode(callSuper = true)
public class SurveyProjectPiece extends BaseEntity2 {
    /**
     * 
     */
    @TableId(value = "id")
    private String id;

    /**
     * 问卷id
     */
    @TableField(value = "project_id")
    private String projectId;

    /**
     * 问卷版本
     */
    @TableField(value = "version")
    private Integer version;

    /**
     * 预生成文件类型
     */
    @TableField(value = "ptype")
    private Integer ptype;

    /**
     * 预生成文件类型，完成、未完成，跟ptype可交叉组合
     */
    @TableField(value = "finish_flag")
    private Integer finishFlag;

    /**
     * 切片文件数量
     */
    @TableField(value = "piece_num")
    private Integer pieceNum;
}